package com.project.entity;

import java.util.Date;

public class CarGoods {
    private Integer shoppingId;
    private Integer orderId;
    private Integer count;
    private String ownName;
    private Date createTime;
    private Date updateTime;
    private Order order;

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Integer getShoppingId() {
        return shoppingId;
    }

    public void setShoppingId(Integer shoppingId) {
        this.shoppingId = shoppingId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getOwnName() {
        return ownName;
    }

    public void setOwnName(String ownName) {
        this.ownName = ownName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "CarGoods{" +
                "shoppingId=" + shoppingId +
                ", orderId=" + orderId +
                ", count=" + count +
                ", ownName='" + ownName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", order=" + order +
                '}';
    }
}
